package com.vogue.supplymall.common.domain.dto.admin;

import com.vogue.supplymall.common.domain.validate.Decimals;
import com.vogue.supplymall.common.domain.validate.NotEmpty;
import com.vogue.supplymall.common.domain.validate.Positive;

import java.io.Serializable;
import java.util.List;

/**
 * The type Organ info.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-04-27
 */
public class OrganManagementInfo implements Serializable {
    /**
     * 集团id
     */
    private Long organid;
    /**
     * 计费信息id
     */
    private Long consumeid;
    /**
     *  充值信息id
     */
    private Long rechargeid;
    /**
     * 集团名称
     */
    @NotEmpty(name="orgname")
    private String orgname;
    /**
     * 注册id
     */
    private Long rid;
    /**
     * 系统唯一注册码的id
     */
    private Long syscodeid;
    /**
     * 系统唯一注册码
     */
    private Long syscode;
    /**
     * 注册手机号
     */
    @NotEmpty(name="tel")
    private String tel;
    /**
     * 第三方对接系统的标识
     */
    @NotEmpty(name="tpsystem")
    private String tpsystem;
    /**
     * 备注
     */
    private String memo;
    /**
     * 操作者名称
     */
    private String updateuser;
    /**
     * 操作者id
     */
    private String updateuserid;
    /**
     * 入住平台信息
     */
    private List<PlatformInfo> platformInfo;
    /**
     * admin_billing
     * 计费方式 1：包年 2：包月 3：按单扣费
     */
    private Integer billingtype;
    /**
     * 服务费用
     */
    @Positive(name="cost")
    private String cost;
    /**
     * 按点扣费-每单比例
     */
    @Decimals(name="singleratio")
    private String singleratio;
    /**
     * 保底
     */
    @Decimals(name="minimum")
    private String minimum;
    /**
     * 按点扣费-封顶
     */
    @Decimals(name="upperlimit")
    private String upperlimit;
    /**
     * 业务归属
     */
    @NotEmpty(name="owner")
    private String owner;
    /**
     * 提成
     */
    @NotEmpty(name="commission")
    @Decimals(name="commission")
    private String commission;
    /**
     * 信用额度
     */
    private String creditLimit;
    /**
     * admin_payment
     * 支付金额-一次充值的金额
     */
    @NotEmpty(name="amount")
    @Positive(name="amount")
    private String amount;

    /**
     * 优惠金额
     */
    @Positive(name="discount")
    private String discount;
    /**
     * 支付方式 0：线下 1：吾享 2：微信 3：支付宝
     */
    private Integer paymenttype = 0;
    /**
     * 支付方式 0：线下 1：爱农 2：其他
     */
    private Integer paymentmode = 0;
    /**
     * 支付编号
     */
    private Long paymentnumber;
    /**
     * 检索-入住平台代码
     */
    private Integer platform;
    /**
     * 检索-计费方式
     * 计费方式 1：包年 2：包月 3：按单扣费
     */
    private Integer consumetype;
    /**
     * 检索-余额类型
     * 1：大于等于 2：小于等于 3：等于 4：大于 5：小于 6：不等
     */
    private Integer balancetype;
    /**
     * 检索-余额
     */
    private String balance;
    /**
     * 请求页数
     */
    private Integer pages = 1;
    /**
     * limit开始位置
     */
    private Integer start = 0;
    /**
     * limit结束位置
     */
    private Integer length = 10;
    /**
     * 启停
     * 0：开启 1： 关闭
     */
    private Integer onoff;
    /**
     * 账本id
     */
    private Long balanceId;
    /**
     * 管理集团-检索条件-系统注册码
     */
    private String sysCode;

    public String getSysCode() {
        return sysCode;
    }

    public void setSysCode(String sysCode) {
        this.sysCode = sysCode;
    }

    public Long getBalanceId() {
        return balanceId;
    }

    public void setBalanceId(Long balanceId) {
        this.balanceId = balanceId;
    }

    public Long getOrganid() {
        return organid;
    }

    public void setOrganid(Long organid) {
        this.organid = organid;
    }

    public Long getConsumeid() {
        return consumeid;
    }

    public void setConsumeid(Long consumeid) {
        this.consumeid = consumeid;
    }

    public String getOrgname() {
        return orgname;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    public Long getRid() {
        return rid;
    }

    public void setRid(Long rid) {
        this.rid = rid;
    }

    public Long getSyscodeid() {
        return syscodeid;
    }

    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    public Long getSyscode() {
        return syscode;
    }

    public void setSyscode(Long syscode) {
        this.syscode = syscode;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTpsystem() {
        return tpsystem;
    }

    public void setTpsystem(String tpsystem) {
        this.tpsystem = tpsystem;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser;
    }

    public String getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(String updateuserid) {
        this.updateuserid = updateuserid;
    }

    public List<PlatformInfo> getPlatformInfo() {
        return platformInfo;
    }

    public void setPlatformInfo(List<PlatformInfo> platformInfo) {
        this.platformInfo = platformInfo;
    }

    public Integer getBillingtype() {
        return billingtype;
    }

    public void setBillingtype(Integer billingtype) {
        this.billingtype = billingtype;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }

    public String getSingleratio() {
        return singleratio;
    }

    public void setSingleratio(String singleratio) {
        this.singleratio = singleratio;
    }

    public String getMinimum() {
        return minimum;
    }

    public void setMinimum(String minimum) {
        this.minimum = minimum;
    }

    public String getUpperlimit() {
        return upperlimit;
    }

    public void setUpperlimit(String upperlimit) {
        this.upperlimit = upperlimit;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getCommission() {
        return commission;
    }

    public void setCommission(String commission) {
        this.commission = commission;
    }

    public String getCreditLimit() {
        return creditLimit;
    }

    public void setCreditLimit(String creditLimit) {
        this.creditLimit = creditLimit;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public Integer getPaymenttype() {
        return paymenttype;
    }

    public void setPaymenttype(Integer paymenttype) {
        this.paymenttype = paymenttype;
    }

    public Integer getPaymentmode() {
        return paymentmode;
    }

    public void setPaymentmode(Integer paymentmode) {
        this.paymentmode = paymentmode;
    }

    public Long getPaymentnumber() {
        return paymentnumber;
    }

    public void setPaymentnumber(Long paymentnumber) {
        this.paymentnumber = paymentnumber;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public Integer getConsumetype() {
        return consumetype;
    }

    public void setConsumetype(Integer consumetype) {
        this.consumetype = consumetype;
    }

    public Integer getBalancetype() {
        return balancetype;
    }

    public void setBalancetype(Integer balancetype) {
        this.balancetype = balancetype;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getOnoff() {
        return onoff;
    }

    public void setOnoff(Integer onoff) {
        this.onoff = onoff;
    }

    public Long getRechargeid() {
        return rechargeid;
    }

    public void setRechargeid(Long rechargeid) {
        this.rechargeid = rechargeid;
    }
}
